import axiosReq from '@/utils/axios-req'

//登录
export const loginReq = (subForm) => {
    return axiosReq({
        url: '/login',
        method: 'post',
        data: subForm
    })
}

//退出登录
export const loginOutReq = () => {
    return axiosReq({
        url: '/loginOut',
        method: 'post'
    })
}
